<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="../head.jsp">
<jsp:param value="客户信息" name="title"/>
</jsp:include>
</head>
<body>
	<div class="container">
		<div class="row">
			<div  class="col-lg-9">
				<div class = "dao">		
					<a class="section" href = "manager">客户跟进</a>
					<i class="right chevron icon divider"></i>
					<a class="section" href = "cust/form">客户管理</a>
					<i class="right chevron icon divider"></i>
					<span class="active section">用户信息</span>							
				</div>
				
				<c:forEach items="${ sessionScope.custList }" var="custList">
					<c:if test="${ custList.cust_id eq id }">
				<div class="col-md-9 ">
					<div id="contact-card" class="panel panel-default">
					  <div class="panel-heading">
						<h2 class="panel-title">${custList.cust_name }</h2>
					  </div>
					  <div class="panel-body">
						<div id="card" class="row">
							<div class="col-md-6">
								<table class="table table-hover">
									<tbody>
									  <tr>					
										<th><i class="fa fa-phone"></i> 姓名</th>
										<td id="card-name">${custList.cust_name }</td>
										<td></td>
									  	<th><i class="fa fa-phone"></i> 性别</th>
										<td id="card-name">${custList.cust_gender }</td>
									  </tr>
									  <tr>
									  	<th><i class="fa fa-phone"></i>学历</th>
										<td>${custList.degree_name }</td>
										<td></td>
										<th><i class="fa fa-envelope"></i>目前状态</th>
										<td>${custList.status_name}</td>
									  </tr>
									  
									  <tr>
										<th><i class="fa fa-home"></i>电话</th>
										<td>${custList.cust_telphone }</td>
										<td></td>
										<th><i class="fa fa-home"></i>QQ</th>
										<td>${custList.cust_qq }</td>
									  </tr>
									  <tr>
										<th><i class="fa fa-phone"></i>父(母)亲姓名</th>
										<td>${custList.cust_parentName }</td>
										<td></td>
										<th><i class="fa fa-phone"></i>父(母)亲电话</th>
										<td>${custList.cust_parentTel }</td>
									  </tr>
									  
									  <tr>
									  	<th><i class="fa fa-envelope"></i>信息来源</th>
										<td>${custList.cust_source }</td>
										<td></td>
										<th><i class="fa fa-envelope"></i>填表日期</th>
										<td>${custList.cust_createtime }</td>
									  </tr>
									</tbody>
								  </table>
							</div>
						</div>
					  </div>
					</div>
				</div>
				</c:if>
				</c:forEach>
			</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>